.home {
  background: rgb(250, 250, 250) !important;
  margin-top: -16px !important;
  .helios-page-header{
    //height: 160px;
    padding: 20px 20px 20px 20px;
    margin: -16px 0px 20px;
    box-shadow: 0 2px 6px 0 rgba(30, 33, 38, 0.1);

    .left {
      position: relative;
      .edit-button-group {
        position: absolute;
        right: 0;
        top: 0;
        display: flex;
        flex-direction: row;
        justify-content: end;
      }
    }

    .page-change-url{
      background: #FFFFFF;
      border: 1px solid #E9E9E9;
      border-radius: 4px;
      padding: 0 9px 0 8px;
      margin-left: 8px;
      height: 22px;
      cursor: pointer;
      -webkit-user-select:none;
      -moz-user-select:none;
      -ms-user-select:none;
      user-select:none;
      text-align: center;
      font-family: PingFangSC-Regular;
      font-size: 10px;
      color: #4E5B71;
      letter-spacing: 0;
      line-height: 20px;
      transition: all ease 0.3s;
      &:hover{
        border: 1px solid #4B8DFF;
        box-shadow: 0 3px 7px 0 #F0F0F0;
        color: $default-color-hover;
      }
      &:focus{
        border: 1px solid #4B8DFF;
        background: #ffffff;
        color: $default-color-focus;
      }
    }
  }
  .img-wrap{
    display: inline-block;
    vertical-align: bottom;
    padding: 8px 10px;
    margin-right: 24px;
    img{
      height: 64px;
      width: auto;
    }
  }
  .company-probation-valid{
    background: #73DBAD;
  }
  .company-probation-invalid{
    background: $badge-error;
  }
  .company-content{
    display: inline-block;
    vertical-align: bottom;
    .company-line {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;

      .company-name{
        font-size: 20px;
        color: $font-title;
        font-weight: 600;
        margin-bottom: 12px;
      }
    }
    .company-detail{
      font-size: 12px;
      color: $font-default;
    }
    .company-probation{
      font-size: 10px;
      color: $font-ghost;
      line-height: 20px;
      border: 1px solid;
      border-radius: 13px;
      padding: 2px 8px;
      cursor: pointer;
      margin-left: 15px;
    }
    .triangle{
      height: 0;
      width: 0;
      border-top: 3px solid transparent;
      border-bottom: 3px solid transparent;
      border-left: 3px solid white;
      display: inline-block;
      margin-bottom: 1px;
    }
  }
  .trial-content-area {
    position: absolute;
    top: 40px;
    right: 0;
    .trial-text{
      text-align: right;
      font-size: 12px;
      margin-right: 12px;
    }
    .trial-block {
      font-size: 14px;
      width: 5px;
      height: 15px;
      color: #4E5B71;
      border-radius: 15px;
      margin-left: 3px;
    }
    .trial-date{
      color: #7E97C5;
    }
    .fake-button {
      font-size: 12px;
      height: 32px;
      line-height: 32px;
      padding: 0 12px;
      text-align: center;
      cursor: pointer;
      border-radius: 4px;
      display: inline-block;
    }
    .renew-button {
      color: #FFFFFF;
      background: #4B8DFF;
      border: 1px solid #4B8DFF;
      margin-right: 10px;
    }
    .purchase-history-button {
      color: #2B78FF;
      border: 1px solid #4B8DFF;
    }
  }
  .btn-setting{
    margin: auto 20px auto 0px;
    z-index: 3;
    width: 46px !important;
    height: 46px !important;
    border: 1px solid #EBEDF0;
    color: $default-color;
    font-size: 22px !important;
    &:hover{
      box-shadow: 0 3px 7px 0 #F0F0F0;
      color: $default-color-hover;
    }
    &:focus{
      background: #ffffff;
      color: $default-color-focus;
    }
  }
    .divider-title{
      font-weight: bold;
      margin-bottom: 8px;
      font-size: 18px;
      color: #1E2126;
      line-height: 18px;
      margin-top: 24px;
    }
    .card-list{
      height: 164px;
      padding: 36px 36px 36px 46px;
      border: 1px solid #E9E9E9;
      border-radius: 5px;
      .ant-card-body{padding: 0;}
      .number-block{
        float: left;
        margin-top: 12px;
        .number{
          font-size: 34px;
          color: #1E2126;
          letter-spacing: 0;
          line-height: 34px;
          font-weight: bold;
        }
        .title{
          margin-top: 12px;
          font-size: 18px;
          color: #4E5B71;
          letter-spacing: 0;
          line-height: 18px;
          max-width: 215px;
        }
      }
      img{
        float: right;
        width: 68px;
        height: 68px;
      }
    }
    .custom-card{
      padding: 20px 20px 20px 40px;
      height: 164px;
      img{
        float: left;
        width: 54px;
        height: 54px;
      }
      .card-name{
        float: left;
        margin-left: 11px;
        max-width: calc(100% - 70px);
        .title{
          font-size: 18px;
          color: #1E2126;
          margin-top: 15px;
          color: rgba(0,0,0,0.85);
          line-height: 18px;
        }
        .content{
          letter-spacing: 0;
          font-weight: bold;
          margin-top: 28px;
          font-size: 38px;
          color: #000000;
          line-height: 38px;
        }
      }
      .check-order{
        color: $default-color;
        line-height: 18px;
        position: absolute;
        top: 40px;
        right: 36px;
        cursor: pointer;
      }
      .buy-button{
        background: $default-color;
        border-radius: 4px;
        font-size: 14px;
        color: #FFFFFF;
        width: 64px;
        height: 28px;
        line-height: 28px;
        text-align: center;
        position: absolute;
        right: 36px;
        bottom: 45px;
        cursor: pointer;
        &:hover{
          background: #1464F0;
        }
      }
    }


  .card-wrapper{
    background: #FFFFFF;
    border: 1px solid #EBF0F5;
    border-radius: 6px;
    margin-bottom: 20px;
  }
  .card-head {
    width: 100%;
    height: 50px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #EBF0F5;
    .card-head-title {
      font-family: PingFangSC-Medium;
      font-size: 18px;
      line-height: 18px;
      color: #262626;
    }

    .card-head-util {
      width: 256px;
    }
  }

  .card-content-wrapper {
    padding: 20px 24px;
  }

  .overview-wrapper {
    height: 69px;
    display: flex;
    align-items: flex-start;
    .overview-item {
      width: 33.33%;
      position: relative;
      text-align: center;
    }
    .overview-title {
      font-family: PingFangSC-Regular;
      font-size: 14px;
      color: #4E5B71;
      line-height: 14px;
      margin-bottom: 10px;
    }
    .overview-value {
      font-family: HelveticaNeue;
      font-size: 26px;
      color: #262626;
      line-height: 26px;
      margin-bottom: 20px;
    }
    .overview-warning {
      position: absolute;
      top: 54px;
      right: 0;
      width: 100%;
      font-family: PingFangSC-Regular;
      font-size: 14px;
      color: #FF7F00;
      text-align: center;
      line-height: 16px;
    }
  }
  .flex-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
  }
  .card-chart {
    width: 33.33%;
    height: 288px;
  }

  .sub-card-wrapper {
    width: calc((100% - 40px) / 3);
    padding: 0 20px;
    display: inline-block;
    .sub-card-head {
      width: 100%;
      height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      .sub-card-head-title {
        font-family: PingFangSC-Medium;
        font-size: 16px;
        color: #4E5B71;
        text-align: left;
        line-height: 16px;
      }
      .sub-card-href {
        font-family: PingFangSC-Regular;
        font-size: 14px;
        color: #4B8DFF;
        line-height: 18px;
        cursor: pointer;
      }
    }
  }

  .infos-wrapper {
    position: relative;
  }

  .info-button {
    position: absolute;
    top: 0;
    right: 0;
  }

  .info-item-wrapper {
    position: relative;
    margin-bottom: 20px;
    .info-item-title {
      font-family: PingFangSC-Regular;
      font-size: 14px;
      color: #6C788C;
      text-align: left;
      line-height: 16px;
      margin-bottom: 4px;
    }
    .info-item-content {
      font-family: HelveticaNeue;
      font-size: 20px;
      color: #1E2126;
      text-align: left;
      line-height: 32px;
    }
    .info-item-warning {
      position: absolute;
      top: 0;
      right: 0;
      max-width: 60%;
      font-family: PingFangSC-Regular;
      font-size: 14px;
      color: #FF7F00;
      text-align: left;
      line-height: 16px;
    }

    &.left-color {
      .info-item-title {
        padding-left: 13px;
        position: relative;
        &:before {
          content: "1";
          display: block;
          width: 3px;
          border-radius: 1.5px;
          height: 100%;
          position: absolute;
          left: 0;
          right: 0;
          color: transparent;
          background: linear-gradient(180deg, #7F9CFF 0%, #E8ECFF 100%);
        }
      }
      .info-item-content {
        padding-left: 13px;
      }
    }

  }

  .helios-page-content {
    padding: 0 20px;
    width: 100%;
    overflow: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    .helios-page-body {
      width: calc(100% - 285px);
      min-width: 820px;
    }

    .helios-page-slider {
      min-width: 265px;
      width: 265px;
      margin-left: 20px;

      .ad-box {
        margin-bottom: 20px;
        border-radius: 6px;
        overflow: hidden;
        height: 200px;
        background: linear-gradient(to right, rgb(130,177,233), rgb(169,207,252));
        font-size: 28px;
        color: rgba(255,255,255,0.85);
        text-align: center;
        line-height: 200px;
        font-weight: bold;
        .single-ad-box {
          position: relative;

          .img {
            position: relative;
            margin-bottom: 20px;
            border-radius: 6px;
            height: 200px;
            -webkit-user-select:none;
            -moz-user-select:none;
            -ms-user-select:none;
            user-select:none;
          }
          .touch-area-hua-bei {
            bottom: 42px;
            left: 18px;
            width: 172px;
            height: 45px;
            position: absolute;
            cursor: pointer;
            z-index: 1;
            //background-color: rgba(0,0,0,0.5);
          }
          .touch-area-a-map {
            bottom: 45px;
            left: 17px;
            width: 132px;
            height: 42px;
            position: absolute;
            cursor: pointer;
            z-index: 1;
            //background-color: rgba(0,0,0,0.5);
          }
        }

        .slick-dots {
          bottom: 32px;
        }

      }
      .extra-service {
        .single-service {
          margin-bottom: 24px;
          .header-info {
            margin-bottom: 8px;
            display: flex;
            flex-wrap: nowrap;
            justify-content: space-between;
            align-items: center;
            flex-direction: row;
            .img {
              width: 16px;
              height: 16px;
              margin-top: -2px;
            }
            .service-title {
              margin-left: 8px;
              font-size: 14px;
              color: #1E2126;
              text-align: left;
              line-height: 14px;
            }
            .href {
              margin-top: -2.5px;
              font-size: 14px;
              color: #4B8DFF;
              line-height: 16px;
              cursor: pointer;
              flex-shrink: 0;
            }
          }
          .description {
            font-size: 12px;
            color: #6C788C;
            text-align: left;
            line-height: 16px;
          }
          &:last-child {
            margin-bottom: 8px;
          }
        }
      }
      .helios-wechat {
        .content {
          display: flex;
          flex-wrap: nowrap;
          justify-content: space-between;
          align-items: center;
          flex-direction: row;

          .description {
            width: 130px;
            font-size: 12px;
            color: #6C788C;
            text-align: left;
            line-height: 20px;
          }
          .img {
            width: 75px;
            height: 75px;
          }
        }
      }
      .helios-update-log {
        .content {
          overflow: hidden !important;
          max-height: 608px;
          min-height: 260px;
          .version {
            font-size: 14px;
            color: #1E2126;
            text-align: left;
            line-height: 14px;
          }
          .log {
            font-size: 14px;
            color: #6C788C;
            text-align: left;
            line-height: 18px;
          }
        }
      }
      .head-wrapper {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .card-head {
          padding: 0 20px;
        }
      }
      .href {
        font-size: 14px;
        color: #4B8DFF;
        line-height: 18px;
        cursor: pointer;
      }
      .side-title {
        font-size: 16px;
      }
    }
  }

}
